package com.ipet.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ipet.system.mapper.SysUserMapper;
import com.ipet.system.pojo.SysUser;
import com.ipet.system.service.SysUserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper , SysUser> implements SysUserService {

    @Override
    public SysUser findByUsername(String username) {
        return this.baseMapper.findByUsername(username);
    }
}
